Skip to content

docs(admin-cli): document run-db-migration --skip-extension-reconcile and --embedding-dimension#2327

Open
r266-tech wants to merge 1 commit into
vectorize-io:mainfrom
r266-tech:docs-admin-cli-run-db-migration-flags
Open

docs(admin-cli): document run-db-migration --skip-extension-reconcile and --embedding-dimension#2327
r266-tech wants to merge 1 commit into
vectorize-io:mainfrom
r266-tech:docs-admin-cli-run-db-migration-flags

Conversation

@r266-tech

Copy link
Copy Markdown
Contributor

Problem

The run-db-migration Options table in developer/admin-cli.md lists only --schema, but hindsight-api-slim/hindsight_api/admin/cli.py exposes two more operator-facing flags:

Operators running migrations manually (CI/CD, large multi-tenant deployments) can't discover these from the docs today.

Fix

Add both rows to the existing Options table on the canonical source doc and regenerate the docs skill mirror:

  • hindsight-docs/docs/developer/admin-cli.md
  • skills/hindsight-docs/references/developer/admin-cli.md — regenerated via ./scripts/generate-docs-skill.sh

Descriptions are taken from the flags' typer.Option help text. Pure docs, no behavior change.

… and --embedding-dimension

The run-db-migration Options table listed only `--schema`, but the command
also exposes two operator-facing flags (hindsight_api/admin/cli.py):

- `--embedding-dimension` — enforce an expected embedding dimension after
  migrations (omit to skip the dimension sync).
- `--skip-extension-reconcile` — added in vectorize-io#2309; skip the post-migration
  vector/text-search index reconcile to speed up no-change re-migrations across
  many tenant schemas when the backend is unchanged.

Add both rows to the canonical Options table and regenerate the docs skill
mirror.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant